package com.yunfeng.aolin.service;

import java.util.List;

import org.springframework.data.jpa.domain.Specification;

import com.yunfeng.aolin.entity.Adhesive;
import com.yunfeng.common.util.Page;

public interface AdhesiveService {
	Adhesive get(Long id);

	void saveOrUpdate(Adhesive adhesive);

	void delete(Long id);

	List<Adhesive> findAll();

	List<Adhesive> findAll(Page page);

	List<Adhesive> findByLiaohao(Page page, String liaohao);

	List<Adhesive> findByExample(Specification<Adhesive> specification,
			Page page);
}
